package com.ruoyi.report_kf.domain.bo;

import com.ruoyi.common.core.validate.AddGroup;
import com.ruoyi.common.core.validate.EditGroup;
import com.ruoyi.report_kf.domain.vo.ReportKfTlsxzsjlbBaDetailVo;
import com.ruoyi.report_tg.domain.bo.ExcelGeneralBo;
import lombok.Data;
import lombok.EqualsAndHashCode;
import javax.validation.constraints.*;

import java.util.Date;

import java.math.BigDecimal;
import java.util.List;

import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 填料塑性指数试验检测记录主业务对象 report_kf_tlsxzsjlb_bs_info
 *
 * @author zyb
 * @date 2024-11-18
 */

@Data
@EqualsAndHashCode(callSuper = true)
public class ReportKfTlsxzsjlbBsInfoBo extends ExcelGeneralBo {

    /**
     * 一份excel表格的唯一id(其他的excel主表，都应有此字段）
     */
    @NotNull(message = "一份excel表格的唯一id(其他的excel主表，都应有此字段）不能为空", groups = { EditGroup.class })
    private Long excelId;

    /**
     * 共几页
     */
    @NotNull(message = "共几页不能为空", groups = { AddGroup.class, EditGroup.class })
    private Long totalPage;

    /**
     * 第几页
     */
    @NotNull(message = "第几页不能为空", groups = { AddGroup.class, EditGroup.class })
    private Long page;

    /**
     * 记录编号
     */
    @NotBlank(message = "记录编号不能为空", groups = { AddGroup.class, EditGroup.class })
    private String jilbh;

    /**
     * 检测单位名称
     */
    @NotBlank(message = "检测单位名称不能为空", groups = { AddGroup.class, EditGroup.class })
    private String jiancdwmc;

    /**
     * 工程名称
     */
    @NotBlank(message = "工程名称不能为空", groups = { AddGroup.class, EditGroup.class })
    private String gongcmc;

    /**
     * 工程部位/用途
     */
    @NotBlank(message = "工程部位/用途不能为空", groups = { AddGroup.class, EditGroup.class })
    private String gongcbwyt;

    /**
     * 样品名称
     */
    @NotBlank(message = "样品名称不能为空", groups = { AddGroup.class, EditGroup.class })
    private String yangpmc;

    /**
     * 样品编号
     */
    @NotBlank(message = "样品编号不能为空", groups = { AddGroup.class, EditGroup.class })
    private String yangpbh;

    /**
     * 样品数量
     */
    @NotBlank(message = "样品数量不能为空", groups = { AddGroup.class, EditGroup.class })
    private String yangpsl;

    /**
     * 样品状态
     */
    @NotBlank(message = "样品状态不能为空", groups = { AddGroup.class, EditGroup.class })
    private String yangpzt;

    /**
     * 样品时间
     */
    @NotBlank(message = "样品时间不能为空", groups = { AddGroup.class, EditGroup.class })
    private String yangpsj;

    /**
     * 试验检测日期
     */
    @NotBlank(message = "试验检测日期不能为空", groups = { AddGroup.class, EditGroup.class })
    private String shiyjcrq;

    /**
     * 试验条件温度
     */
    @NotBlank(message = "试验条件温度不能为空", groups = { AddGroup.class, EditGroup.class })
    private String shiytjwd;

    /**
     * 试验条件湿度
     */
    @NotBlank(message = "试验条件湿度不能为空", groups = { AddGroup.class, EditGroup.class })
    private String shiytjsd;

    /**
     * 检测依据
     */
    @NotBlank(message = "检测依据不能为空", groups = { AddGroup.class, EditGroup.class })
    private String jiancyj;

    /**
     * 判定依据
     */
    @NotBlank(message = "判定依据不能为空", groups = { AddGroup.class, EditGroup.class })
    private String pandyj;

    /**
     * 检测依据ids
     */
    @NotBlank(message = "检测依据ids不能为空", groups = { AddGroup.class, EditGroup.class })
    private String jiancyjIds;

    /**
     * 判定依据ids
     */
    @NotBlank(message = "判定依据ids不能为空", groups = { AddGroup.class, EditGroup.class })
    private String pandyjIds;

    /**
     * 主要仪器设备名称及编号
     */
    @NotBlank(message = "主要仪器设备名称及编号不能为空", groups = { AddGroup.class, EditGroup.class })
    private String zhuyyqsbmcjbh;

    /**
     * 设备id逗号分隔
     */
    @NotBlank(message = "设备id逗号分隔不能为空", groups = { AddGroup.class, EditGroup.class })
    private String shebIds;

    /**
     * 附加声明
     */
    @NotBlank(message = "附加声明不能为空", groups = { AddGroup.class, EditGroup.class })
    private String fujsm;

    /**
     * 检测结果单值
     */
    @NotNull(message = "检测结果单值不能为空", groups = { AddGroup.class, EditGroup.class })
    private BigDecimal jiancjg;

    /**
     * 样品缩分方法
     */
    @NotBlank(message = "样品缩分方法不能为空", groups = { AddGroup.class, EditGroup.class })
    private String yangpsfff;

    /**
     * 试验次数1
     */
    @NotBlank(message = "试验次数1不能为空", groups = { AddGroup.class, EditGroup.class })
    private String shiycs1;

    /**
     * 试验次数2
     */
    @NotBlank(message = "试验次数2不能为空", groups = { AddGroup.class, EditGroup.class })
    private String shiycs2;

    /**
     * 液限（%）1
     */
    @NotBlank(message = "液限（%）1不能为空", groups = { AddGroup.class, EditGroup.class })
    private String yex1;

    /**
     * 液限（%）2
     */
    @NotBlank(message = "液限（%）2不能为空", groups = { AddGroup.class, EditGroup.class })
    private String yex2;

    /**
     * 液限测定值（%）
     */
    @NotBlank(message = "液限测定值（%）不能为空", groups = { AddGroup.class, EditGroup.class })
    private String yexcdz;

    /**
     * 平均塑限（%）
     */
    @NotBlank(message = "平均塑限（%）不能为空", groups = { AddGroup.class, EditGroup.class })
    private String pingjsx;

    /**
     * 塑性指数（%）
     */
    @NotBlank(message = "塑性指数（%）不能为空", groups = { AddGroup.class, EditGroup.class })
    private String suxzs;


    /**
     * 详细表
     */
    private List<ReportKfTlsxzsjlbBaDetailVo> baDetailVos1; // 上半部分6行
    private List<ReportKfTlsxzsjlbBaDetailVo> baDetailVos2; // 下半部分2行

}
